class CreatePhotos < ActiveRecord::Migration
  def self.up
    create_table :photos do |t|
      t.string      :filename
      t.string      :thumbnail
      t.references  :show
      t.integer     :size
      t.integer     :width
      t.integer     :height
      t.integer     :parent_id
      t.string      :content_type
      t.text        :caption
      t.string      :location
      t.string      :city
      t.string      :state
      t.timestamps
    end
  end

  def self.down
    drop_table :photos
  end
end
